package scoresort;

public class Student {
    public String name;
    public String id;
    public double score;

    public Student(String name, String id, double score) {
        this.name = name;
        this.id = id;
        this.score = score;
    }

    @Override
    public String toString() {
        return "姓名: " + name + ", 成绩: " + score + ",学号: " + id;

    }


}
